package com.tinycloud.job.task;

import com.tinycloud.job.service.IProductScadaServiceFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


@Component("productScadaTask")
public class ProductScadaTask {

    @Autowired
    IProductScadaServiceFeign productScadaServiceFeign;

    public  void getProductData () {

        productScadaServiceFeign.getProductData();
        System.out.println("end getProductData");
    }

    public  void cleanScadaAlarmData () {

        productScadaServiceFeign.cleanScadaAlarmData();
        System.out.println("end cleanScadaAlarmData");
    }

    public  void productKeyProcessConfERP2Scada () {

        productScadaServiceFeign.productKeyProcessConfERP2Scada();
        System.out.println("end productKeyProcessConfERP2Scada");
    }

    public  void auxiSysWeightDadaClean () {

        productScadaServiceFeign.auxiSysWeightDadaClean();
        System.out.println("end productKeyProcessConfERP2Scada");
    }

}
